import course from './course.vue'
import courseAdd from './courseAdd.vue'
import courseEdit from './courseEdit.vue'
import courseSearch from './courseSearch.vue'
import courseView from './courseView.vue'

const components = [
  course,
  courseAdd,
  courseEdit,
  courseSearch,
  courseView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
